﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="TreeGridModule.ascx.cs"
    Inherits="BaseWeb.GridView.ExpandGrid.Modules.TreeGridModule" %>
<link href="../../../Styles/Main.css" rel="stylesheet" type="text/css" />
<asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound">
    <HeaderTemplate>
        <div style="overflow: auto">
            <table class="Main_tableStyle" cellpadding="0" cellspacing="0" style="width: 100%">
                <tr style="height: 25px;">
                    <td class="Main_tdTextStyle" style="width: 60px; text-align: center; background-color: #EBF3FD;">
                        &nbsp;
                    </td>
                    <td class="Main_tdTextStyle" style="text-align: center; width: 200px; background-color: #EBF3FD;">
                        <asp:Label ID="labClassName" runat="server" Font-Bold="True">班别</asp:Label>
                    </td>
                    <td class="Main_tdTextStyle" style="text-align: center; background-color: #EBF3FD;">
                        <asp:Label ID="labGrade" runat="server" Font-Bold="True">年级</asp:Label>
                    </td>
                </tr>
    </HeaderTemplate>
    <ItemTemplate>
        <tr id="trParent" runat="server">
            <td class="Main_tdTextStyle" style="width: 60px; text-align: center;">
                <table cellpadding="0" cellspacing="0" style="width: 100%">
                    <tr>
                        <td>
                            <asp:Image ID="imgExpend" runat="server" ImageUrl="~/Images/tv_close.gif" Style="cursor: pointer" />
                        </td>
                        <td style="text-align: center; width: 30px;">
                            <%--  <%# Container.ItemIndex + 1 + this.DataPager1.PageSize*(this.DataPager1.CurrentPageIndex-1)%>--%>
                            <%# Container.ItemIndex + 1 %>
                        </td>
                    </tr>
                </table>
            </td>
            <td class="Main_tdTextStyle" style="text-align: center; width: 200px;">
                <asp:LinkButton ID="lnkClassName" runat="server" Font-Bold="true"></asp:LinkButton>
            </td>
            <td class="Main_tdTextStyle">
                <asp:Label ID="labGrade" runat="server" Font-Bold="True"></asp:Label>
            </td>
        </tr>
        <tr id="trChildren" runat="server" style="display: none;">
            <td class="Main_tdTextStyle" style="text-align: center; vertical-align: top; width: 60px;">
                &nbsp;
            </td>
            <td class="Main_tdTextStyle" colspan="2" ifram="ifram" style="padding: 0; margin: 0;
                width: 100%;">
                <asp:HiddenField ID="hidUrl" runat="server" />
                <div id="divLoading">
                    正在加载数据...<img src="../../Images/LoadingIcon.gif" /></div>
                <iframe width="100%" id="frmShowStudentList" runat="server" src="" frameborder="0"
                    scrolling="no"></iframe>
            </td>
        </tr>
    </ItemTemplate>
    <FooterTemplate>
        </table></div></FooterTemplate>
</asp:Repeater>
